package cn.jbit.supermarker.service;

import java.util.List;

import cn.jbit.supermarker.entity.Provider;


public interface ProviderService {
	//查询供应商信息
			public List<Provider> getProviderList();
			//添加供应商信息
			public boolean addProvider(Provider provider);
			//修改供应商信息
			public boolean updateProviderl(Provider provider);
			//删除供应商信息
			public  boolean deleteProvider(int id);
			//获取到供应商信息id
			public Provider getProById(int id);
			public int getTotalCount (String proName);
			public List<Provider> getProPageList(int pageNo,int pageSize,String proName);

}
